import request from '@/utils/request'

/**
 * 预测
 */
export const forecast = (data) => {
  return request({
    method: 'GET',
    url: `/xinnengyuan/${data.mday}/${data.fday}`
  })
}

/**
 * 添加
 * @param data
 */
export const add = () => {
  return request({
    method: 'GET',
    url: '/xinnengyuan'
  })
}
